<template>
  <view class="container">
    <scroll-view scroll-y="true" style="width: 100%; height: 100vh">
      <!-- 列表 -->
      <view class="list">
        <view class="item" v-for="index in 5" :key="index" @click="goorderdetail">
          <image src="../../static/img/jiedan.png" mode="aspectFill" style="width: 186rpx; height: 186rpx"></image>
          <view class="right">
            <view class="name">
              <view style="font-size: 30rpx; font-family: PingFang SC, PingFang SC; font-weight: bold; color: #222222">张同学</view>
              <image src="../../static/icon/nan.png" mode="" style="width: 42rpx; height: 42rpx"></image>
              <view class="school">第五实验中学</view>
            </view>
            <view class="subject">初三 | 数学</view>
            <view class="long">
              <view style="font-size: 28rpx; font-family: PingFang SC, PingFang SC; font-weight: 500; color: #222222">0.25km</view>
              <view class="jiedan">从黑名单移除</view>
            </view>
          </view>
        </view>
      </view>
    </scroll-view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  }
};
</script>

<style lang="scss" scoped>
.container {
  box-sizing: border-box;
  .list {
    box-sizing: border-box;
    margin: 30rpx;
    .item {
      display: flex;
      width: 690rpx;
      height: 186rpx;
      margin-bottom: 40rpx;
      .right {
        flex: 1;
        margin-left: 20rpx;
        .name {
          display: flex;
          .school {
            font-size: 22rpx;
            font-family: PingFang SC, PingFang SC;
            font-weight: 500;
            width: 172rpx;
            height: 40rpx;
            background: #eaedfd;
            border-radius: 10rpx 10rpx 10rpx 10rpx;
            color: #3553e8;
            text-align: center;
            line-height: 40rpx;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
          }
        }
        .subject {
          font-size: 26rpx;
          font-family: PingFang SC, PingFang SC;
          font-weight: 500;
        }
        .long {
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-top: 18rpx;
          .jiedan {
            box-sizing: border-box;
            width: 220rpx;
            height: 60rpx;
            text-align: center;
            line-height: 60rpx;
            font-size: 28rpx;
            font-size: 28rpx;
            font-family: PingFang SC, PingFang SC;
            font-weight: 500;
            color: #333333;
            background: #e3e3e3;
            border-radius: 100rpx 100rpx 100rpx 100rpx;
          }
        }
      }
    }
  }
}
</style>
